.dialog {
  &__bg {
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
  }

  &__header {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    position: relative;

    h2 {
      text-align: center;
      line-height: 24px;
      font-size: 16px;
    }
  }

  &__close {
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: -30px;
    color: var(--text-secondary-color);

    &:hover {
      color: var(--text-color);
    }
  }

  &__content {
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
  }
}
